builtins: Fix error message if workdir doesn't exist
authorColin Walters <walters@verbum.org>
Thu, 2 Feb 2012 18:56:25 +0000 (13:56 -0500)
committerColin Walters <walters@verbum.org>
Thu, 2 Feb 2012 18:56:25 +0000 (13:56 -0500)
src/ostbuild/pyostbuild/builtins.py

index efd8bfc8cad7dc923b7a4a426d1aab696aa27b1d..4b5abe76f44a75bd895cfaa14bd0522ac9935c8b 100755 (executable)
@@ -38,7 +38,7 @@ class Builtin(object):
             fatal("Specified mirrordir '%s' is not a directory" % (self.mirrordir, ))
         self.workdir = ostbuildrc.get_key('workdir')
         if not os.path.isdir(self.workdir):
-            fatal("Specified workdir '%s' is not a directory", (self.workdir, ))
+            fatal("Specified workdir '%s' is not a directory" % (self.workdir, ))
 
     def execute(self, args):
         raise NotImplementedError()